<%-- 
    Document   : Employee
    Created on : May 9, 2012, 9:28:43 AM
    Author     : Nguyen Hung
--%>

<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib prefix="f" uri="http://java.sun.com/jsf/core" %>
<%@taglib prefix="h" uri="http://java.sun.com/jsf/html" %>
<%@taglib prefix="rich" uri="http://richfaces.org/rich" %>
<%@taglib prefix="a4j" uri="http://richfaces.org/a4j" %>
<html>
    <head>
        <script>
           
        </script>

        <style type="text/css">

            .smsContent{
                float: left;
                margin: 10px 10px 10px 47px;                   


            }
            .css_border{
                border-top: 1px solid #C4C0C9;
                border-left: 1px solid #C4C0C9;
            }
        </style>

    </head>

    <f:view>
        <body>
            <f:loadBundle basename="#{environmentSession.localizationSource}" var="locale"/>
            <%--<a4j:repeat value="#{m300Bean.listM300US}" var="item">

                <h:outputText value="-  #{item.hoten} (#{item.mv304})" styleClass="qv402"/>


            </a4j:repeat>--%>
            <div class="smsContent">

                <table>
                    <a4j:repeat value="#{T950Bean.listT950CNL}" var="item" rowKeyVar="index">  
                        <tr class="table_row css_border">
                            <td class="table_cell cssCenter  <h:outputText rendered="#{index%2 !=0 && item.ht1 == null && item.ht == null}"  value="odd"/> <h:outputText rendered="#{item.ht1 != null && item.ht != null}"  value="add_fis1"/> <h:outputText rendered="#{item.ht1 == null && item.ht != null}"  value="add_fis"/>" style="width: 60px">
                                <div style="width: 40px;margin-left: 10px;">
                                    <h:panelGroup rendered="#{loginSession.right.DEB_LST_MOD}">
                                        <div style="width:20px;float: left;">
                                            <h:outputLink rendered="#{item.ht == null}"  value="financialInputCN.jsp?action=editCNLitem&pt950=#{item.pt950}&pn100=#{item.fn100}&page=debt1.jsp&height=282px&width=345px" styleClass="fancybox add_new" id="fancybox3">
                                                <img src="../images/edit.png" alt="edit" title="edit"/>
                                            </h:outputLink>

                                        </div>
                                    </h:panelGroup>
                                    <h:panelGroup rendered="#{loginSession.right.DEB_LST_DEL}">
                                        <div style="width:20px; float: right;">
                                            <h:outputLink value="deleteFinancial.jsp?action=delete&pt950=#{item.pt950}&page=debt.jsp&height=282px&width=345px" styleClass="fancybox add_new" id="fancybox4">
                                                <img src="../images/delete_1.png" alt="delete"  title="delete" />
                                            </h:outputLink>

                                        </div>
                                    </h:panelGroup>
                                </div>
                            </td>
                            <td class="table_cell cssCenter  <h:outputText rendered="#{index%2 !=0 && item.ht1 == null && item.ht == null}"  value="odd"/> <h:outputText rendered="#{item.ht1 != null && item.ht != null}"  value="add_fis1"/> <h:outputText rendered="#{item.ht1 == null && item.ht != null}" value="add_fis"/>" style="width: 100px">

                                <h:outputText value="#{item.bv051}"/> 

                            </td>

                            <td class="table_cell cssRight  <h:outputText rendered="#{index%2 !=0 && item.ht1 == null && item.ht == null}"  value="odd"/> <h:outputText rendered="#{item.ht1 != null && item.ht != null}"  value="add_fis1"/> <h:outputText rendered="#{item.ht1 == null && item.ht != null}" value="add_fis"/>" style="width: 100px">

                                <h:outputText value="#{item.tn951st}"/>   

                            </td>
                            <td class="table_cell cssCenter  <h:outputText rendered="#{index%2 !=0 && item.ht1 == null && item.ht == null}"  value="odd"/> <h:outputText rendered="#{item.ht1 != null && item.ht != null}"  value="add_fis1"/> <h:outputText rendered="#{item.ht1 == null && item.ht != null}" value="add_fis"/>" style="width: 50px">

                                <h:outputText value="#{item.money}"/> 

                            </td>


                            <td class="table_cell   <h:outputText rendered="#{index%2 !=0 && item.ht1 == null && item.ht == null}"  value="odd"/> <h:outputText rendered="#{item.ht1 != null && item.ht != null}"  value="add_fis1"/> <h:outputText rendered="#{item.ht1 == null && item.ht != null}" value="add_fis"/>" style="width: 250px">

                                <h:outputText value="#{item.nv112}"/>

                            </td>
                            <td class="table_cell   <h:outputText rendered="#{index%2 !=0 && item.ht1 == null && item.ht == null}"  value="odd"/> <h:outputText rendered="#{item.ht1 != null && item.ht != null}"  value="add_fis1"/> <h:outputText rendered="#{item.ht1 == null && item.ht != null}" value="add_fis"/>" style="width: 204px">

                                <h:outputText value="#{item.tv971}"/> 

                            </td>

                        </tr>
                    </a4j:repeat>
                </table>
            </div>


        </body>
    </f:view>
</html>
